<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
        <!-- 设置表格属性：边框线1px,居中,宽高：500x100, 边框之间距离：0px -->
        <table border="1px" cellspacing="0px" align="center" width="500px" height="200px">
            <tr>
                <th bgcolor="pink">姓名</th>
                <th>性别</th>
                <th>年龄</th>
                <th>电话号码</th>
            </tr>
            <tr align="center">
                <td>张三</td>
                <td background="./img/dog.png">男</td>
                <td>18</td>
                <td>12345678901</td>
            </tr>
            <tr bgcolor="pink">
                <td>李四</td>
                <td>女</td>
                <td>18</td>
                <td>23456789012</td>
            </tr>
            <tr background="./img/dog.png">
                <td>王五</td>
                <td>男</td>
                <td>17</td>
                <td>12334343512</td>
            </tr>
</body>
</html>